﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ProjectStudy.CSharp高级编程
{
    public class Person
    {
        private string name;
        private string sex;
        private int age;

        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        public string Sex
        {
            get { return sex; }
            set { sex = value; }
        }

        public int Age
        {
            get { return age; }
            set { age = value; }
        }

        public string Play() 
        {
            return "Person is playing";
        }
    }
}